<?php
	header('content-type: application/json');
		
	$arr = array();
	
	if($malp)
	{
		foreach($malp as $row)
		{
			$arr[] = $row;
		}
	}

	if($tenlp)
	{
		foreach($tenlp as $row)
		{
			$arr[] = $row;
		}
	}	

	if($tenkhachsan)
	{
		foreach($tenkhachsan as $row)
		{
			$arr[] = $row;
		}
	}		
	
	echo json_encode($arr);
?>